package com.bjsxt.controller;

import com.bjsxt.pojo.HostPower;
import com.bjsxt.service.HostPowerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/hostPower")
public class HostPowerController {
    @Autowired
    private HostPowerService hostPowerService;
    @RequestMapping("/updateHostPowerLer")
    public Integer updateHostPowerLer(HostPower hostPower,Integer[] hostids){
        return hostPowerService.changeHostPower(hostPower,hostids);
    }
}
